package com.yami.shop.dto.user;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description= "注册融云用户")
@Builder
public class RegisterRongReqDTO implements Serializable {


    @Schema(description = "融云用户id")
    @NotNull(message = "用户id不能为空")
    public String id;

    @Schema(description = "融云用户名称")
    public String name;

    @Schema(description = "融云用户头像")
    public String portrait;
}
